/*
package com.wingsoft.work.controller;

import com.wingsoft.common.core.domain.R;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.Arrays;
import java.util.Date;
import java.util.List;
import com.github.pagehelper.Page;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.wingsoft.common.annotation.Log;
import com.wingsoft.common.core.controller.BaseController;
import com.wingsoft.common.core.domain.AjaxResult;
import com.wingsoft.common.enums.BusinessType;
import com.wingsoft.work.domain.UserTaskLog;
import com.wingsoft.work.dto.UserTaskLogDto;
import com.wingsoft.work.vo.UserTaskLogVo;
import com.wingsoft.work.service.impl.UserTaskLogServiceImpl;
import com.wingsoft.common.utils.poi.ExcelUtil;

*/
/**
 * 用户任务日志Controller
 * 
 * @author hemj
 * @date 2025-10-20
 *//*

@Api(tags = "用户任务日志接口")
@RestController
@RequestMapping("/work/userTaskLog")
public class UserTaskLogController extends BaseController
{
    @Autowired
    private UserTaskLogServiceImpl userTaskLogService;

    */
/**
     * 统计数量用户任务日志
     *//*

    //@PreAuthorize("@ss.hasPermi('work:userTaskLog:list')")
    @PostMapping("/count")
    @ApiOperation("统计数量用户任务日志")
    public R<Long> count(@RequestBody UserTaskLogDto userTaskLogDto)
    {
        Long num = userTaskLogService.countList(userTaskLogDto);
        return R.ok(num);
    }

    */
/**
     * 分页查询用户任务日志
     *//*

    //@PreAuthorize("@ss.hasPermi('work:userTaskLog:list')")
    @PostMapping("/list")
    @ApiOperation("分页查询用户任务日志")
    public R<List<UserTaskLogVo>> list(@RequestBody UserTaskLogDto userTaskLogDto)
    {
        Page page = startPage();
        List<UserTaskLogVo> list = userTaskLogService.queryList(userTaskLogDto);
        return getResDataTable(list,page);
    }

    */
/**
     * 查询用户任务日志列表
     *//*

    //@PreAuthorize("@ss.hasPermi('work:userTaskLog:list')")
    @PostMapping("/query")
    @ApiOperation("查询用户任务日志列表")
    public R<List<UserTaskLogVo>> query(@RequestBody UserTaskLogDto userTaskLogDto)
    {
        List<UserTaskLogVo> list = userTaskLogService.queryList(userTaskLogDto);
        return R.ok(list);
    }

    */
/**
     * 导出用户任务日志
     *//*

    //@PreAuthorize("@ss.hasPermi('work:userTaskLog:export')")
    @Log(title = "导出用户任务日志", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    @ApiOperation("导出用户任务日志")
    public void export(HttpServletResponse response, UserTaskLogDto userTaskLogDto)
    {
        List<UserTaskLogVo> list = userTaskLogService.queryList(userTaskLogDto);
        ExcelUtil<UserTaskLogVo> util = new ExcelUtil<UserTaskLogVo>(UserTaskLogVo.class);
        util.exportExcel(response, list, "用户任务日志数据");
    }

    */
/**
     * 获取用户任务日志详细信息
     *//*

    //@PreAuthorize("@ss.hasPermi('work:userTaskLog:query')")
    @PostMapping(value = "/get")
    @ApiOperation("获取用户任务日志详细信息")
    public R<UserTaskLogVo> getInfo(@RequestBody UserTaskLogDto userTaskLogDto)
    {
        return R.ok(userTaskLogService.getOneById(userTaskLogDto.getId()));
    }

    */
/**
     * 新增用户任务日志
     *//*

    //@PreAuthorize("@ss.hasPermi('work:userTaskLog:add')")
    @Log(title = "新增用户任务日志", businessType = BusinessType.INSERT)
    @PostMapping(value = "/add")
    @ApiOperation("新增用户任务日志")
    public R add(@RequestBody UserTaskLogDto userTaskLogDto)
    {
        return R.ok(userTaskLogService.saveCascade(userTaskLogDto));
    }

    */
/**
     * 修改用户任务日志
     *//*

    //@PreAuthorize("@ss.hasPermi('work:userTaskLog:edit')")
    @Log(title = "修改用户任务日志", businessType = BusinessType.UPDATE)
    @PostMapping(value = "/update")
    @ApiOperation("修改用户任务日志")
    public R edit(@RequestBody UserTaskLogDto userTaskLogDto)
    {
        return R.ok(userTaskLogService.updateCascade(userTaskLogDto));
    }

    */
/**
     * 删除用户任务日志
     *//*

    //@PreAuthorize("@ss.hasPermi('work:userTaskLog:remove')")
    @Log(title = "删除用户任务日志", businessType = BusinessType.DELETE)
	@PostMapping("/delete/{ids}")
    @ApiOperation("删除用户任务日志")
    public R remove(@PathVariable Long[] ids)
    {
        userTaskLogService.removeByIdList(Arrays.asList(ids));
        return R.ok();
    }
}
*/
